Getting a Handle to a Menu Record
Most Menu Manager routines that manage menus require that you specify a handle to the menu record of the menu on which you want to perform an operation. You can use theHMGetHelpMenuHandle
function to get a handle to your application's Help menu. Use theGetMenuHandle
function to get a handle to the menu record of any of your application's other pull-down menus or submenus in the current menu list. For pop-up menus that use the standard control definition function, you can access the control record to get the menu's handle.
Subtopics
- GetMenuHandle
- HMGetHelpMenuHandle